public class MyClass {
    public static void main(String[] args) {
        int x = 4, y = 5;
        int z = sum(x,y);
        System.out.println(z);
    }

    /**
     * sum method calculate
     * @param a
     * @param b
     * @return
     */
    public static int sum (int a,int b) {
        int c = a + b;
        return c;
    }
}
